﻿module Sustainalytics.Controversies {

    export interface IControversiesService {
        getQualitativePerformance(companyId: string): ng.IPromise<ControversyIndicatorDto[]>;
        getComparisonGroupControversies(companyId: string): ng.IPromise<ComparisonGroupControversyDto[]>;
        getControversyIndicators(companyId: string, theme?: string): ng.IPromise<ControversyIndicatorDto[]>;
        getEventIndicator(companyId: string, eventIndicatorId: string): ng.IPromise<EventIndicatorDto>;
        getIncidents(companyId: string, eventIndicatorId: string): ng.IPromise<IncidentDto[]>;
        getIncidentsMapLocationForCompany(companyId: string): ng.IPromise<MapDataDto[]>;
        getIncidentsMapLocationByEventIndicator(companyId: string, eventIndicator: string): ng.IPromise<MapDataDto[]>;
    }
} 